Eclipse Platform
Pre-release 3.0

org.eclipse.core.variables
Interface IDynamicVariable

All Superinterfaces:
IStringVariable

public interface IDynamicVariable
extends IStringVariable

A dynamic variable is a variable whose value is computed dynamically by a resolver at the time a string substitution is performed. A dynamic variable is contributed by an extension. The following is a definition of a dynamic variable that resolves to the name of the selected resource:

  
    
    
  
 

Since:
3.0

Method Summary
 String getValue(String argument)
          Returns the value of this variable when referenced with the given argument, possibly null.
 
Methods inherited from interface org.eclipse.core.variables.IStringVariable
getDescription, getName
 

Method Detail

getValue

public String getValue(String argument)
                throws CoreException
Returns the value of this variable when referenced with the given argument, possibly null.

Parameters:
argument - argument present in variable expression or null if none
Returns:
value of this variable when referenced with the given argument, possibly null
Throws:
CoreException - if unable to resolve a value for this variable

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.